% determine if the city is visted
% if city is in the visited city list ,return true;otherwise return false.
function result = is_visited_city(city, visited_city)
len = length(visited_city);
for i = 1:len
    if city == visited_city(i)
        result = true;
        return;
    end
end
result = false;
end